package com.fittinghome.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

/**
 * <p>
 * 购买订单表
 * </p>
 *
 * @author sprout
 * @since 2021-04-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("Fit_Order")
public class FitOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一GUID
     */
    @TableId("Gid")
    private String gid;

    /**
     * 订单号
     */
    @TableField("OrderNo")
    private String orderNo;

    /**
     * 订单类型
     */
    @TableField("OrderType")
    private String orderType;

    /**
     * 订单状态
     */
    @TableField("OrderStatus")
    private String orderStatus;

    /**
     * 订单金额
     */
    @TableField("OrderAmount")
    private Double orderAmount;

    /**
     * 订单数量
     */
    @TableField("OrderQty")
    private Double orderQty;

    /**
     * 收货人
     */
    @TableField("ReceiveName")
    private String receiveName;

    //订单那明细
    @TableField(exist=false)
    private List<FitOrderdetail> orderDetails;


}
